<template>
    <div id="app">
        <router-view />
    </div>
</template>

<script lang="ts">
import { Vue, Component } from 'vue-property-decorator'
import { UserModule } from './store/modules/user'

@Component
export default class App extends Vue {
    created() {
        // 刷新页面时候，数据恢复
        UserModule.UpdateUser()
    }
}
</script>

<style lang="scss"></style>
